package com.service;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Transactional;

import com.bean.Marketing;
import com.bean.Project;




@Transactional
public interface MarketingService {

	int insert(Marketing record);

	List<Marketing> selectAll();
	
	
	List<Marketing> selectAllByUserid(Integer userid);
	
	Marketing selectByPrimaryKey(Integer id);
	int updateByPrimaryKeyWithBLOBs(Marketing record);
	
	int updateByPrimaryKey(Marketing record);
	
	
	int deleteByPrimaryKey(Integer id);

	List<Marketing> selectBy(Map map);
	List<Marketing> selectBycnameuname(Map map);
	
	 int updateByidstate(Map map);

	
}
